package cn.jiyun.feign;


import cn.jiyun.pojoday14.Emp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author: 小周
 * @Package: cn.jiyun.feign
 * @Project: 2210A-project1
 * @name: TestService
 * @Date: 2023/8/22 19:55
 * @Filename: TestService
 */
@FeignClient("day14roles")
public interface TestService {


    @RequestMapping("/emp/toLogin")
    public Emp toLogin(Emp emp);
}
